package com.wfcm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.wfcm.dao.WfGoodsParamDao;
import com.wfcm.entity.WfGoodsParamEntity;
import com.wfcm.service.WfGoodsParamService;



@Service("wfGoodsParamService")
public class WfGoodsParamServiceImpl implements WfGoodsParamService {
	@Autowired
	private WfGoodsParamDao wfGoodsParamDao;
	
	@Override
	public WfGoodsParamEntity queryObject(Integer id){
		return wfGoodsParamDao.queryObject(id);
	}
	
	@Override
	public List<WfGoodsParamEntity> queryList(Map<String, Object> map){
		return wfGoodsParamDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return wfGoodsParamDao.queryTotal(map);
	}
	
	@Override
	public void save(WfGoodsParamEntity wfGoodsParam){
		wfGoodsParamDao.save(wfGoodsParam);
	}
	
	@Override
	public void update(WfGoodsParamEntity wfGoodsParam){
		wfGoodsParamDao.update(wfGoodsParam);
	}
	
	@Override
	public void delete(Integer id){
		wfGoodsParamDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		wfGoodsParamDao.deleteBatch(ids);
	}
	
}
